home *** CD-ROM | disk | FTP | other *** search
-
- pshader("
-
- ps_1_1
-
- def c1, 0, 0, 0, -1
- def c2, 0.33, 0.33, 0.33, 0.5
-
- tex t0
- tex t1
- tex t2
-
- add_sat r0.rgb, t0, -t1
- +add_sat r0.a, t0.b, -t2.b
-
-
- add_sat r1.rgb, t1, -t0
- +add_sat r1.a, t2.b, -t0.b
-
- add_x2 t1.rgb, r0, r1
- +add_x2 t2.a, r0.a, r1.a
-
- add_x2 r0.a, t1.b, t2.a
-
- mul r0, 1-r0.a, t0
-
- ")
-
-